import request from '../request'

// 求职意向相关接口
// 查询求职意向列表
export const getJobIntentionList = () => {
	return request.get('/business/resumeJobIntention/list')
}

// 获取求职意向详细信息
export const getJobIntentionDetail = (id) => {
	return request.get(`/business/resumeJobIntention/${id}`)
}

// 新增求职意向
export const addJobIntention = (params) => {
	return request.post('/business/resumeJobIntention', params)
}

// 修改求职意向
export const updateJobIntention = (params) => {
	return request.put('/business/resumeJobIntention', params)
}

// 删除求职意向
export const deleteJobIntention = (ids) => {
	return request.delete(`/business/resumeJobIntention/${ids}`)
}

// 获取职位推荐
export const getJobRecommendations = (params) => {
	return request.get('/business/resumeJobIntention/recommendPositions', { params })
}

// 获取行业列表
export const getIndustryList = () => {
	return request.get('/business/common/industries')
} 